PoD: Fix two code comments
authorLiu, Jinsong <jinsong.liu@intel.com>
Fri, 14 Jan 2011 15:47:01 +0000 (15:47 +0000)
committerLiu, Jinsong <jinsong.liu@intel.com>
Fri, 14 Jan 2011 15:47:01 +0000 (15:47 +0000)
Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
tools/libxc/xc_hvm_build.c
xen/include/xen/sched.h

index d3a2e194a1421fcf1f7ed131d53626c1d2da08ed..dbac09467cc4feca7a7585b9b897cc73bceee8a7 100644 (file)
@@ -431,8 +431,9 @@ int xc_hvm_build(xc_interface *xch,
 /* xc_hvm_build_target_mem: 
  * Create a domain for a pre-ballooned virtualized Linux, using
  * files/filenames.  If target < memsize, domain is created with
- * memsize pages marked populate-on-demand, and with a PoD cache size
- * of target.  If target == memsize, pages are populated normally.
+ * memsize pages marked populate-on-demand, 
+ * calculating pod cache size based on target.
+ * If target == memsize, pages are populated normally.
  */
 int xc_hvm_build_target_mem(xc_interface *xch,
                            uint32_t domid,
index 5087781710a3ef783c6c02d8d2b9c6e09e6bbae1..c5def0b03fe427bc06c1a18aaf357cf3c8cd2049 100644 (file)
@@ -209,7 +209,7 @@ struct domain
     spinlock_t       domain_lock;
 
     spinlock_t       page_alloc_lock; /* protects all the following fields  */
-    struct page_list_head page_list;  /* linked list, of size tot_pages     */
+    struct page_list_head page_list;  /* linked list */
     struct page_list_head xenpage_list; /* linked list (size xenheap_pages) */
     unsigned int     tot_pages;       /* number of pages currently possesed */
     unsigned int     max_pages;       /* maximum value for tot_pages        */